package com.HuangJiaQing.www.service.impl;

import com.HuangJiaQing.www.dao.MarketersMapper;
import com.HuangJiaQing.www.model.Marketers;
import com.HuangJiaQing.www.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author HONOR
 * @date 2022/7/29 15:16
 */

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private MarketersMapper marketersMapper;

    public List<Marketers> adminLogin() {
        List<Marketers> marketers = marketersMapper.selectByExample(null);
        return marketers;
    }
}
